/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.safetytask.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "用户相关任务关注", description = "用户相关任务关注实体类")
public class UserTaskFollow{
    @ApiModelProperty(value = "id", name = "id", required = true)
    private String id;

    @ApiModelProperty(value = "用户任务id", name = "mytaskId" )
    private String taskId;

    @ApiModelProperty(value = "关注者code", name = "followerCode" )
    private String followerCode;

    @ApiModelProperty(value = "关注时间", name = "createTime" )
    private Date createTime;

    @ApiModelProperty(value = "关注状态", name = "followState" )
    private Integer followState;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getFollowerCode() {
        return followerCode;
    }

    public void setFollowerCode(String followerCode) {
        this.followerCode = followerCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getFollowState() {
        return followState;
    }

    public void setFollowState(Integer followState) {
        this.followState = followState;
    }

    @Override
    public String toString() {
        return "UserTaskFollow{" +
                "id='" + id + '\'' +
                ", taskId='" + taskId + '\'' +
                ", followerCode='" + followerCode + '\'' +
                ", createTime=" + createTime +
                ", followState=" + followState +
                '}';
    }
}
